package com.example.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (MenuButton)实体类
 *
 * @author china.fuyao@outlook.com
 * @since 2020-04-19 14:24:43
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MenuButton extends Model<MenuButton> {
    /**
     * 主键id
     */
    @TableId(value = "menu_btn_id", type = IdType.AUTO)
    private Integer menuBtnId;
    /**
     * 角色id
     */
    private Integer roleId;
    /**
     * 菜单id
     */
    private Integer menuId;
    /**
     * 按钮ids
     */
    private String btnIds;
}